﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ServerLibrary.Abstract
{
    /// <summary>
    /// Result of file handling performs by file handler.
    /// </summary>
    public interface IHandleResult
    {
        /// <summary>
        /// Gets or sets aray of bytes which represents requested file
        /// </summary>
        byte[] File { get; set; }

        /// <summary>
        /// Gets or sets content type of http response
        /// </summary>
        string ContentType { get; set; }

        /// <summary>
        /// Gets or sets http status code of handling the file
        /// </summary>
        int HttpStatusCode { get; set; }
    }
}
